﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace NASM_Develop_IDE
{
    public partial class NewTabDialog : Form
    {
        public NewTabDialog()
        {
            InitializeComponent();
        }
        public string SourceName
        {
            get
            {
                string name = sourceName.Text;
                if (name.EndsWith(".asm"))
                {
                    return name;
                }
                else
                {
                    return name + ".asm";
                }
            }
        }
        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
